package com.sjksy.demo.vo.travel_route;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.sjksy.demo.domain.Spots;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "主要是针对旅游线路信息返回给前端的结构对象，在旅游表描述的信息的基础上加了个景点列表")
public class TravelRouteResponseVo {

    private Integer routeId;

    private String routeName;

    @Schema(description = "关于线路的成本价格",minimum = "0.0",type = "number")
    private BigDecimal price;

    @Schema(description = "关于这条线路旅游的描述，包括短日程安排，线路详细计划等等",type = "string")
    private String routeDescription;

    private List<Spots> spots;
}
